package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * 孙子科举结果
 */
@FieldTypeAnnotation(tableName = "t_l_ck_grand_child_exam_result", desc = "孙子科举结果", autoSave = true, uploadCk = true)
public class LogGrandChildExamResult extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "孙子ID")
    private String id;
    @FieldTypeAnnotation(desc = "类型，1参加，2结算")
    private int type;
    @FieldTypeAnnotation(desc = "考试ID")
    private long examNo;
    @FieldTypeAnnotation(desc = "赚钱")
    private String earnSpeed;
    @FieldTypeAnnotation(desc = "BUFF加成")
    private int addition = 0;
    @FieldTypeAnnotation(desc = "科举结果")
    private int title = 0;

    public LogGrandChildExamResult(long userId, String id, int type, long examNo, String earnSpeed, int addition, int title) {
        this.userId = userId;
        this.id = id;
        this.type = type;
        this.examNo = examNo;
        this.earnSpeed = earnSpeed;
        this.addition = addition;
        this.title = title;
    }

    public long getUserId() {
        return userId;
    }

}
